package com.dozen.commonbase;

/**
 * @author: Dozen
 * @description:
 * @time: 2020/11/2
 */
public class CommonConstant {

    public static String isFirstInstall = "isFirstInstall";//第一次启动
    public static String isFirstAgree = "isFirstAgree";//第一次同意
    public static String closeGuide = "closeGuide";//展示引导页
    public static String guideData = "guideData";//引导页数据
    public static String isAnswer = "isAnswer";//回答问题

    public static boolean common_state = false;
    public static boolean umeng_click = true;//有盟点击事件传递开关
    public static final String skip_guide = "skip_guide";//true为跳过引导，false为进入引导

    public static final int REQUEST_PERMISSIONS = 10001;
    public static final String USER_TOKEN = "user_token";

    public static final String permissions_state = "permissions_state";//权限判断
    public static final String permissions_state_location = "permissions_state_location";//定位权限判断
    public static final String permissions_state_sd_card = "permissions_state_sd_card";//SD存储权限判断


    //token失效错误码
    public static final String TOKEN_INVALID_CODE = "10001";
    //token失效广播
    public static final String TOKEN_INVALID = "com.example.detectiondog.client.TOKEN_INVALID";
    //是否需要加密
    public static final String ISENCRYPT = "isEncrypt";

    //oaid
    public static String OAID = "oaid";

    //EventBus
    public final static String EVENT_BUS_LOCATION_CHANGE = "baidu_location_change";//刷新
    public final static String EVENT_BUS_USER_INFO_CHANGE = "user_info_change";//刷新
    public static final String EVENT_BUS_LOCATION_REFRESH = "location_refresh";//权限判断
    public final static String EVENT_BUS_MAIN = "main_refresh";//刷新
    public final static String EVENT_BUS_SHOW_TIP = "earth_show_tip";//刷新
    public final static String EVENT_BUS_CHECK_PERMISSION = "check_permission";//刷新
    public final static String EVENT_BUS_TOP_SHOW = "top_show";//刷新
    public final static String EVENT_BUS_VR_HISTORY = "vr_history_refresh";//刷新
    public final static String EVENT_BUS_APP_NO_NET= "app_no_net";//刷新



    //save
    public final static String app_common_save_show_search = "app_common_save_show_search";
    public final static String app_common_save_show_search_over = "app_common_save_show_search_over";

}
